package com.ebelter.btcomlib.models.bluetooth.products.temperature2.interfaces;



import android.bluetooth.BluetoothDevice;

import com.ebelter.btcomlib.models.bluetooth.bean.ProductStyle;
import com.ebelter.btcomlib.models.bluetooth.products.temperature2.bean.TemMesureResult2;
import com.ebelter.btcomlib.models.bluetooth.products.temperature2.bean.TemMesureResult2His;

public interface Temperature2MesureResult {

    void mesureResult(TemMesureResult2 result);
    void mesureHisResult(TemMesureResult2His hisResult);

//   01：量测结果温度低，LCD 显L
//02：量测结果温度高，LCD 显H
//03：环境温度过低，LCD 显示EL
//04：环境温度过高，LCD 显示EH
//05：低电压，LCD 显示电池符
//06：错误 Err，LCD 显示 Err;
    void error(String bluetoothName,int errorCode);

    //关机
    void onDevicePoweroff();
    void setUnitSuccess();
    void getHisDataFinish();
    void getVersion(int versionCode);

    void onConnected(ProductStyle productStyle, BluetoothDevice device);
    void onConnecting(ProductStyle productStyle,BluetoothDevice device);
    void onDisConnected(ProductStyle productStyle);

}
